package com.example.user.feign;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 身份验证用户feign服务
 *
 */
@FeignClient(value = "leadnews-wemedia")
public interface AuthUserFeign {
    @PostMapping( "/wemedia/wmuser/v1/add_wm_user")
    ResponseResult addWmUser(@RequestBody WmUserDto wmUserDto);
}
